<!DOCTYPE html>
<html>
<head>
  <title>Evaluation System</title>

  <!--<%= javascript_include_tag :defaults %>-->
  <%= javascript_include_tag 'jquery.tools.min.js' %>

  <%= javascript_include_tag 'jquery' %>

  <%= javascript_include_tag 'facebox' %>
  <%= javascript_include_tag 'prototype' %>
  <%= javascript_include_tag 'rails' %>

   <%= javascript_tag "jQuery.noConflict()" %>

  <%= stylesheet_link_tag 'scaffold', 'depot', 'fbcss', 'facebox', 'realfbcss', 'tabs-no-images' %>

  <%= csrf_meta_tag %>

</head>
<body>
<table style="border-spacing:0px;border:none;width:100%;z-index:-1;position:absolute;background-color:#3b5998;height:41px">
  <table style="border-spacing:0px;border:none;margin-left:auto;margin-right:auto;position:absolute;width:100%;height:41px">
    <td style="padding:0px;width:240px;text-align:center;vertical-align:middle;">
      <% if User.find_by_id(session[:user_id]) != nil %>
          <a style="color:#fff;text-decoration:none;font:  130% lucida grande;font-weight: bold;"
             href="<%= dashboard_index_path %>">ArtDej</a>
      <% end %>
    </td>
    <td style="padding:0px;width:600px;"></td>
    <td style="padding:0px;width:240px;text-align:left;"><% if User.find_by_id(session[:user_id]) != nil %>
          <p style="padding:0px;margin:0px;color:#fff;">
            <%= User.find_by_id(session[:user_id]).name%></p>
          <%= link_to 'Log out', dashboard_logout_path%>
      <% end %></td>

  </table>
</table>

<%= yield %>

<div style="text-align:center;"><br />All rights Reserved ArtDej - 2011</div>
</body>
</html>
